/** 项目管理路由 */

const cgManagerRouter = {
  path: 'cgManager',
  meta: {
    icon: 'workbench',
    title: '采购管理'
  },
  children: [
      {
      name: 'goods-categories',
      path: 'goods-categories',
      component: () => import('@/views/CGManagement/category/index'),
      meta: {
        title: '商品信息'
      }
    },
    /*{
      path: 'goods-specification',
      name: 'goods-specification',
      component: () => import('@/views/CGManagement/specification/index'),
      meta: {
        title: '商品规格',
        icon: 'workbench',
        index: 3,
        type: 'jxc'
      }
    },
    {
      path: 'goods-unit',
      name: 'goods-unit',
      component: () => import('@/views/CGManagement/unit/index'),
      meta: {
        title: '商品单位',
        icon: 'workbench',
        index: 4,
        type: 'jxc'
      }
    },*/
    {
      path: 'goods-warehouse',
      name: 'goods-warehouse',
      component: () => import('@/views/CGManagement/warehouse/index'),
      meta: {
        title: '商品仓库',
        icon: 'workbench',
        index: 5,
        type: 'jxc'
      }
    },
    {
      path: 'procurement-order',
      name: 'procurement-order',
      component: () => import('@/views/CGManagement/order/index'),
      meta: {
        title: '采购订单',
        icon: 'workbench',
        index: 6,
        type: 'jxc'
      }
    },
    {
      path: 'goods-suppliers',
      name: 'goods-suppliers',
      component: () => import('@/views/CGManagement/suppliers/index'),
      meta: {
        title: '供应商',
        icon: 'workbench',
        index: 7,
        type: 'jxc'
      }
    },
    {
      path: 'project-name',
      name: 'project-name',
      component: () => import('@/views/CGManagement/procurementItem/index'),
      meta: {
        title: '项目名',
        icon: 'workbench',
        index: 8,
        type: 'jxc'
      }
    }
  ]
}


export const children = [...cgManagerRouter.children]
export const childrenMenu = [cgManagerRouter]
